package com.igeek.yygh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author zengxiangjun
 * @Date 2022/8/1  21:32 HospMainApplication8891
 */
@ComponentScan(basePackages = "com.igeek")
//无   @MapperScan("com.igeek.yygh.mapper")
// 报错：  2022-08-01 21:41:20.704 ERROR 22964 --- [  restartedMain] o.s.boot.SpringApplication
// : Application run failed
//@MapperScan("com.igeek.yygh.mapper")
@SpringBootApplication
public class HospMainApplication8891 {
    public static void main(String[] args) {
        SpringApplication.run(HospMainApplication8891.class, args);
    }
}
